CVE-2026-20896
Gitea Docker image trusts spoofable reverse-proxy headers by default
Description
Gitea Docker image versions up to and including 1.26.2 use REVERSE_PROXY_TRUSTED_PROXIES=* by default, allowing any source IP to impersonate a user when reverse-proxy authentication headers such as X-WEBAUTH-USER are enabled.
INFO
Published Date :
July 3, 2026, 8:19 p.m.
Last Modified :
July 3, 2026, 8:19 p.m.
Remotely Exploit :
No
Source :
Gitea
Affected Products
The following products are affected by CVE-2026-20896
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update Gitea to version 1.21.6 or later.
- Set REVERSE_PROXY_TRUSTED_PROXIES appropriately.
- Limit access to trusted reverse proxy IPs.
- Disable if no reverse proxy is used.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-20896 vulnerability anywhere in the article.